package itu.twitterandro.application;


import java.util.Stack;

import android.widget.ImageView;

public class ImageQueue {
	public Stack<ImageRef> imageRefs = new Stack<ImageRef>();
	
	// removes all instances of this ImageView
	public void Clean(ImageView view) {
		for(int i = 0; i < imageRefs.size();) {
			if(imageRefs.get(i).imageView == view)
				imageRefs.remove(i);
			else ++i;
		}
	}
}